package com.ssm.blog.dao;

import com.ssm.blog.pojo.Blog;
import com.ssm.blog.pojo.criteria.BlogCriteria;

import java.util.List;

public interface BlogDAO {
    void addBlog(Blog blog);

    void addBlogCount(int id);

    List<Blog> getBlogList(BlogCriteria criteria);

    Blog getBlogById(int id);
}
